import request from '@/utils/request'

// 查询学生面试题练习记录列表
export function listDaily_tasks_record(query) {
  return request({
    url: '/teaching/daily_tasks_record/list',
    method: 'get',
    params: query
  })
}

// 查询学生面试题练习记录详细
export function getDaily_tasks_record(id) {
  return request({
    url: '/teaching/daily_tasks_record/' + id,
    method: 'get'
  })
}

// 新增学生面试题练习记录
export function addDaily_tasks_record(data) {
  return request({
    url: '/teaching/daily_tasks_record',
    method: 'post',
    data: data
  })
}

// 修改学生面试题练习记录
export function updateDaily_tasks_record(data) {
  return request({
    url: '/teaching/daily_tasks_record',
    method: 'put',
    data: data
  })
}

// 删除学生面试题练习记录
export function delDaily_tasks_record(id) {
  return request({
    url: '/teaching/daily_tasks_record/' + id,
    method: 'delete'
  })
}
